<!DOCTYPE html>
<html lang="en">
<!--header-->
<include file="Public:header"/>
<section id="main-content">
    <section class="wrapper">
        <h3><i class="fa fa-angle-right"></i> 添加/修改语音课程信息</h3>

        <!-- BASIC FORM ELELEMNTS -->
        <div class="row mt">
            <div class="col-lg-12">
                <div class="form-panel">
                    <h4 class="mb">
                        <i class="fa fa-angle-right"></i> 语音课程信息
                        <a class="btn btn-theme btn-default" href="{:U('index',array('currpage'=>$currpage))}">返回</a>
                    </h4>

                    <form id="myForm" class="form-horizontal style-form" method="post" action="{:U('add_forms')}"  enctype="multipart/form-data">
                        <div class="form-group">
                            <label class="col-sm-2 col-sm-2 control-label">是否免费</label>
                            <div class="col-sm-10">
                                <select  name="status" class="form-control">
                                <option value="1" <if condition="$list['status'] == 1">selected </if>>收费</option>
                                <option value="2" <if condition="$list['status'] == 2">selected</if>>免费</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 col-sm-2 control-label">课程外链</label>
                            <div class="col-sm-10">
                                <input name="url" value="{$list.url}" type="text"  class="form-control" placeholder="请输入课程外链">
                            </div>
                            <span style="color: red;font-size: 14px;">如果有链接请勿添加语音文件！</span>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 col-sm-2 control-label">语音<span style="color: red;"></span></label>
                            <div class="col-sm-10">
                                <input type="file" name="two" multiple="true">
                            </div>
                        </div>
                        <!--<div class="form-group">
                            <label class="col-sm-2 col-sm-2 control-label">课程名称</label>
                            <div class="col-sm-10">
                                <input name="title" value="{$list.title}" type="text"  class="form-control" placeholder="请输入课程名称">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 col-sm-2 control-label">课程时长</label>
                            <div class="col-sm-10">
                                <input  name="ke_time" value="{$list.ke_time}" type="text"  class="form-control" placeholder="请输入课程时长">
                            </div>
                        </div>-->
                        <input type="hidden"  name="ke_id"       value="{$ke_id}">
                        <input type="hidden"  name="id"       value="{$list.id}">
                        <input type="hidden"  name="imgs"     value="{$list.vedios}">
                        <input type="hidden"  name="currpage" value="{$currpage}">
                        <div class="form-group">
                            <label class="col-sm-2 col-sm-2 control-label"></label>
                            <div class="col-sm-10">
                                <input  type="submit" id="tianjia" class="btn btn-theme" value="保存" style="width: 150px;margin-left: 60px">
                                <input  type="reset" class="btn btn-warning" value="重置" style="width: 150px">
                            </div>
                        </div>
                    </form>
                    <input type="hidden" id="nums_seven" value="{$covers_shu.nums_seven}">
                </div>
            </div><!-- col-lg-12-->
        </div><!-- /row -->
    </section>
</section>

<!--footer-->
<include file="Public:footer"/>
</body>
</html>


